home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15561 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 68 75 | 72 73 6c 65 79 2e 69 62 |Path: hu|rsley.ib|
|00000010| 6d 2e 63 6f 6d 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |m.com!ne|ws.From:|
|00000020| 20 4d 61 78 20 57 61 74 | 65 72 6d 61 6e 20 3c 64 | Max Wat|erman <d|
|00000030| 77 61 74 65 72 40 77 69 | 67 68 74 2e 68 75 72 73 |water@wi|ght.hurs|
|00000040| 6c 65 79 2e 69 62 6d 2e | 63 6f 6d 3e 0a 4e 65 77 |ley.ibm.|com>.New|
|00000050| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 6c 61 |sgroups:| comp.la|
|00000060| 6e 67 2e 63 0a 53 75 62 | 6a 65 63 74 3a 20 52 65 |ng.c.Sub|ject: Re|
|00000070| 3a 20 50 6f 69 6e 74 65 | 72 20 74 6f 20 46 75 6e |: Pointe|r to Fun|
|00000080| 63 74 69 6f 6e 73 20 61 | 6e 64 20 43 61 6c 6c 73 |ctions a|nd Calls|
|00000090| 20 74 68 65 72 65 6f 66 | 3f 3f 0a 44 61 74 65 3a | thereof|??.Date:|
|000000a0| 20 46 72 69 2c 20 31 39 | 20 41 70 72 20 31 39 39 | Fri, 19| Apr 199|
|000000b0| 36 20 31 34 3a 31 32 3a | 34 38 20 2b 30 31 30 30 |6 14:12:|48 +0100|
|000000c0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 49 |.Organiz|ation: I|
|000000d0| 42 4d 20 55 4b 20 4c 61 | 62 6f 72 61 74 6f 72 69 |BM UK La|boratori|
|000000e0| 65 73 20 4c 74 64 2e 0a | 4d 65 73 73 61 67 65 2d |es Ltd..|Message-|
|000000f0| 49 44 3a 20 3c 33 31 37 | 37 39 31 35 30 2e 34 34 |ID: <317|79150.44|
|00000100| 36 42 40 77 69 67 68 74 | 2e 68 75 72 73 6c 65 79 |6B@wight|.hursley|
|00000110| 2e 69 62 6d 2e 63 6f 6d | 3e 0a 52 65 66 65 72 65 |.ibm.com|>.Refere|
|00000120| 6e 63 65 73 3a 20 3c 44 | 71 30 31 46 74 2e 44 71 |nces: <D|q01Ft.Dq|
|00000130| 6e 40 6c 61 74 63 73 31 | 2e 6c 61 74 2e 6f 7a 2e |n@latcs1|.lat.oz.|
|00000140| 61 75 3e 20 3c 33 31 37 | 37 36 35 30 30 2e 31 39 |au> <317|76500.19|
|00000150| 30 33 30 37 38 40 6e 65 | 77 73 2e 67 6c 6f 62 61 |03078@ne|ws.globa|
|00000160| 6c 6e 65 74 2e 63 6f 2e | 75 6b 3e 0a 52 65 70 6c |lnet.co.|uk>.Repl|
|00000170| 79 2d 54 6f 3a 20 64 77 | 61 74 65 72 40 68 75 72 |y-To: dw|ater@hur|
|00000180| 73 6c 65 79 2e 69 62 6d | 2e 63 6f 6d 0a 4e 4e 54 |sley.ibm|.com.NNT|
|00000190| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|000001a0| 77 69 67 68 74 2e 68 75 | 72 73 6c 65 79 2e 69 62 |wight.hu|rsley.ib|
|000001b0| 6d 2e 63 6f 6d 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |m.com.Mi|me-Versi|
|000001c0| 6f 6e 3a 20 31 2e 30 0a | 43 6f 6e 74 65 6e 74 2d |on: 1.0.|Content-|
|000001d0| 54 79 70 65 3a 20 74 65 | 78 74 2f 70 6c 61 69 6e |Type: te|xt/plain|
|000001e0| 3b 20 63 68 61 72 73 65 | 74 3d 75 73 2d 61 73 63 |; charse|t=us-asc|
|000001f0| 69 69 0a 43 6f 6e 74 65 | 6e 74 2d 54 72 61 6e 73 |ii.Conte|nt-Trans|
|00000200| 66 65 72 2d 45 6e 63 6f | 64 69 6e 67 3a 20 37 62 |fer-Enco|ding: 7b|
|00000210| 69 74 0a 58 2d 4d 61 69 | 6c 65 72 3a 20 4d 6f 7a |it.X-Mai|ler: Moz|
|00000220| 69 6c 6c 61 20 32 2e 30 | 31 20 28 58 31 31 3b 20 |illa 2.0|1 (X11; |
|00000230| 49 3b 20 41 49 58 20 32 | 29 0a 0a 4a 61 6d 65 73 |I; AIX 2|)..James|
|00000240| 20 44 69 63 6b 73 6f 6e | 20 77 72 6f 74 65 3a 0a | Dickson| wrote:.|
|00000250| 3e 20 0a 3e 20 4f 6e 20 | 57 65 64 2c 20 31 37 20 |> .> On |Wed, 17 |
|00000260| 41 70 72 20 31 39 39 36 | 20 30 39 3a 30 39 3a 32 |Apr 1996| 09:09:2|
|00000270| 38 20 47 4d 54 2c 20 77 | 6f 65 6c 6b 65 72 6c 40 |8 GMT, w|oelkerl@|
|00000280| 6c 69 6f 6e 2e 63 73 2e | 6c 61 74 72 6f 62 65 2e |lion.cs.|latrobe.|
|00000290| 65 64 75 2e 61 75 0a 3e | 20 28 45 72 69 63 20 57 |edu.au.>| (Eric W|
|000002a0| 6f 65 6c 6b 65 72 6c 69 | 6e 67 29 20 77 72 6f 74 |oelkerli|ng) wrot|
|000002b0| 65 3a 0a 3e 20 0a 3e 20 | 3e 20 20 20 20 20 20 20 |e:.> .> |> |
|000002c0| 48 69 21 20 20 20 20 20 | 43 61 6e 20 61 6e 79 62 |Hi! |Can anyb|
|000002d0| 6f 64 79 20 66 69 6c 6c | 20 6d 65 20 69 6e 20 61 |ody fill| me in a|
|000002e0| 73 20 74 6f 20 68 6f 77 | 20 74 6f 20 67 65 74 20 |s to how| to get |
|000002f0| 61 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 61 20 66 |a pointe|r to a f|
|00000300| 75 6e 63 74 69 6f 6e 0a | 3e 20 3e 61 6e 64 20 74 |unction.|> >and t|
|00000310| 68 65 6e 20 75 73 65 20 | 74 68 69 73 20 74 6f 20 |hen use |this to |
|00000320| 64 6f 20 74 68 65 20 63 | 61 6c 6c 3f 3f 20 20 49 |do the c|all?? I|
|00000330| 20 68 61 76 65 20 61 20 | 73 69 74 75 61 74 69 6f | have a |situatio|
|00000340| 6e 20 77 68 65 72 65 20 | 61 20 70 61 72 74 69 63 |n where |a partic|
|00000350| 75 6c 61 72 20 66 75 6e | 63 74 69 6f 6e 0a 3e 20 |ular fun|ction.> |
|00000360| 3e 77 69 6c 6c 20 62 65 | 20 73 65 6c 65 63 74 65 |>will be| selecte|
|00000370| 64 20 66 72 6f 6d 20 61 | 20 73 65 74 20 6f 66 20 |d from a| set of |
|00000380| 66 75 6e 63 74 69 6f 6e | 73 20 61 6e 64 20 75 73 |function|s and us|
|00000390| 65 64 20 74 68 72 6f 75 | 67 68 6f 75 74 20 6d 79 |ed throu|ghout my|
|000003a0| 20 65 6e 74 69 72 65 20 | 63 6f 64 65 2c 0a 3e 20 | entire |code,.> |
|000003b0| 3e 62 75 74 20 74 68 65 | 20 66 75 6e 63 74 69 6f |>but the| functio|
|000003c0| 6e 20 73 65 6c 65 63 74 | 65 64 20 77 69 6c 6c 20 |n select|ed will |
|000003d0| 64 65 70 65 6e 64 20 6f | 6e 20 74 68 65 20 72 75 |depend o|n the ru|
|000003e0| 6e 74 69 6d 65 20 73 65 | 6c 65 63 74 69 6f 6e 20 |ntime se|lection |
|000003f0| 62 79 20 74 68 67 65 20 | 75 73 65 72 2e 2e 0a 3e |by thge |user...>|
|00000400| 20 3e 0a 3e 20 3e 73 6f | 20 66 61 72 2e 2e 20 49 | >.> >so| far.. I|
|00000410| 20 68 61 76 65 20 67 6f | 74 20 61 73 20 66 61 72 | have go|t as far|
|00000420| 20 61 73 2e 2e 0a 3e 20 | 3e 0a 3e 20 3e 0a 3e 20 | as...> |>.> >.> |
|00000430| 3e 20 20 20 20 20 20 20 | 76 6f 69 64 20 20 20 20 |> |void |
|00000440| 66 75 6e 63 31 28 76 6f | 69 64 29 7b 6e 61 75 67 |func1(vo|id){naug|
|00000450| 68 74 79 20 62 69 74 73 | 7d 0a 3e 20 3e 20 20 20 |hty bits|}.> > |
|00000460| 20 20 20 20 76 6f 69 64 | 20 20 20 20 66 75 6e 63 | void| func|
|00000470| 32 28 76 6f 69 64 29 7b | 6e 61 75 67 68 74 79 20 |2(void){|naughty |
|00000480| 62 69 74 73 7d 0a 3e 20 | 3e 0a 3e 20 3e 20 20 20 |bits}.> |>.> > |
|00000490| 20 20 20 20 76 6f 69 64 | 20 20 20 20 6d 61 69 6e | void| main|
|000004a0| 28 76 6f 69 64 29 0a 3e | 20 3e 20 20 20 20 20 20 |(void).>| > |
|000004b0| 20 7b 20 20 20 20 20 20 | 20 76 6f 69 64 20 20 20 | { | void |
|000004c0| 20 2a 61 5b 31 5d 3b 0a | 3e 20 3e 0a 3e 20 3e 20 | *a[1];.|> >.> > |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 5b | | a[|
|000004e0| 31 5d 3d 66 75 6e 63 31 | 3b 0a 3e 20 3e 20 20 20 |1]=func1|;.> > |
|000004f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 5b 32 5d | | a[2]|
|00000500| 3d 66 75 6e 63 32 3b 0a | 3e 20 3e 0a 3e 20 3e 20 |=func2;.|> >.> > |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 2a | | (*|
|00000520| 61 5b 31 5d 29 28 29 3b | 0a 3e 20 3e 20 20 20 20 |a[1])();|.> > |
|00000530| 20 20 20 7d 0a 3e 20 3e | 0a 3e 20 3e 20 20 20 20 | }.> >|.> > |
|00000540| 20 20 20 49 73 20 74 68 | 65 72 65 20 73 6f 6d 65 | Is th|ere some|
|00000550| 74 68 69 6e 67 20 6f 62 | 76 69 6f 75 73 20 49 20 |thing ob|vious I |
|00000560| 61 6d 20 6d 69 73 73 69 | 6e 67 20 68 65 72 65 3f |am missi|ng here?|
|00000570| 3f 20 20 49 20 61 6d 20 | 6f 6e 20 61 20 50 43 20 |? I am |on a PC |
|00000580| 61 6e 64 20 75 73 69 6e | 67 0a 3e 20 3e 62 6f 72 |and usin|g.> >bor|
|00000590| 6c 61 6e 64 20 63 2b 2b | 20 63 6f 6d 70 69 6c 65 |land c++| compile|
|000005a0| 72 2e 2e 2e 0a 3e 20 3e | 0a 3e 20 3e 20 20 20 20 |r....> >|.> > |
|000005b0| 20 20 20 49 66 20 79 6f | 75 20 63 61 6e 20 68 65 | If yo|u can he|
|000005c0| 6c 70 2c 20 20 70 6c 65 | 61 73 65 20 6d 61 69 6c |lp, ple|ase mail|
|000005d0| 20 6d 65 20 64 69 72 65 | 63 74 6c 79 20 20 20 20 | me dire|ctly |
|000005e0| 20 20 20 54 68 61 6e 6b | 73 21 0a 3e 20 3e 0a 3e | Thank|s!.> >.>|
|000005f0| 20 3e 20 20 20 20 20 20 | 20 45 72 69 63 20 57 6f | > | Eric Wo|
|00000600| 65 6c 6b 65 72 6c 69 6e | 67 0a 3e 20 3e 20 20 20 |elkerlin|g.> > |
|00000610| 20 20 20 20 77 6f 65 6c | 6b 65 72 6c 40 6c 69 6f | woel|kerl@lio|
|00000620| 6e 2e 6c 61 74 2e 6f 7a | 2e 61 75 0a 3e 20 3e 0a |n.lat.oz|.au.> >.|
|00000630| 3e 20 0a 3e 20 45 72 69 | 63 2c 0a 3e 20 0a 3e 20 |> .> Eri|c,.> .> |
|00000640| 49 20 74 68 69 6e 6b 20 | 79 6f 75 72 20 64 65 63 |I think |your dec|
|00000650| 6c 61 72 61 74 69 6f 6e | 20 66 6f 72 20 27 61 27 |laration| for 'a'|
|00000660| 20 73 68 6f 75 6c 64 20 | 62 65 3a 0a 3e 20 0a 3e | should |be:.> .>|
|00000670| 20 76 6f 69 64 20 28 2a | 61 5b 32 5d 29 28 29 3b | void (*|a[2])();|
|00000680| 0a 0a 4f 72 20 65 76 65 | 6e 20 3a 0a 20 20 76 6f |..Or eve|n :. vo|
|00000690| 69 64 20 28 2a 61 5b 32 | 5d 29 28 76 6f 69 64 29 |id (*a[2|])(void)|
|000006a0| 3b 0a 0a 3e 20 0a 3e 20 | 54 72 79 20 69 74 20 61 |;..> .> |Try it a|
|000006b0| 6e 64 20 6c 65 74 20 6d | 65 20 6b 6e 6f 77 2e 0a |nd let m|e know..|
|000006c0| 3e 20 0a 3e 20 4a 61 6d | 65 73 20 44 69 63 6b 73 |> .> Jam|es Dicks|
|000006d0| 6f 6e 2e 0a 0a 2d 2d 20 | 0a 20 20 20 20 5f 5f 5f |on...-- |. ___|
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006f0| 20 20 20 20 20 20 6d 61 | 69 6c 74 6f 3a 64 77 61 | ma|ilto:dwa|
|00000700| 74 65 72 40 68 75 72 73 | 6c 65 79 2e 69 62 6d 2e |ter@hurs|ley.ibm.|
|00000710| 63 6f 6d 0a 20 20 2f 20 | 20 2f 20 20 2f 20 20 5f |com. / | / / _|
|00000720| 20 20 20 20 20 20 20 2f | 20 20 20 20 20 2f 20 20 | /| / |
|00000730| 5f 20 20 5f 5f 20 5f 5f | 20 20 20 5f 20 20 20 5f |_ __ __| _ _|
|00000740| 5f 20 20 20 5f 0a 20 2f | 20 20 2f 20 20 2f 20 2f |_ _. /| / / /|
|00000750| 5f 2f 20 7c 2f 20 20 2f | 20 20 2f 20 20 2f 20 2f |_/ |/ /| / / /|
|00000760| 5f 2f 20 20 2f 20 20 2f | 5f 20 20 20 2f 5f 2f 20 |_/ / /|_ /_/ |
|00000770| 2f 20 2f 20 2f 20 2f 5f | 2f 20 2f 7c 20 2f 0a 2f |/ / / /_|/ /| /./|
|00000780| 20 20 2f 20 20 2f 20 2f | 20 20 2f 20 2f 7c 20 20 | / / /| / /| |
|00000790| 2f 5f 2f 5f 2f 20 2f 20 | 20 2f 20 20 2f 20 20 2f |/_/_/ / | / / /|
|000007a0| 5f 20 20 2f 20 20 7c 20 | 20 2f 20 2f 20 2f 20 2f |_ / | | / / / /|
|000007b0| 20 20 2f 20 2f 20 7c 2f | 0a | / / |/|. |
+--------+-------------------------+-------------------------+--------+--------+